#!/bin/bash
trap "echo Goodbye ...." EXIT
count=1
while [ $count -le 5 ]; do
    echo "Loop #$count"
    sleep 1
    ((count++))
done
